Class SingletonServiceWrapper<T>
java.lang.Object
com._1c.g5.v8.dt.internal.pm.wrappers.AbstractServiceWrapper<T>
com._1c.g5.v8.dt.internal.pm.wrappers.SingletonServiceWrapper<T>
- All Implemented Interfaces:
- IServiceWrapper<T>
A service wrapper for singleton service.
- 
Field SummaryFields inherited from class com._1c.g5.v8.dt.internal.pm.wrappers.AbstractServiceWrapperserviceBinder
- 
Constructor SummaryConstructorsConstructorDescriptionSingletonServiceWrapper(ServiceBinder<T> serviceBinder) Inherits super constructor.
- 
Method SummaryModifier and TypeMethodDescriptionvoidDisposes instance associated with given proxy.protected IInstanceConnectiongetInstanceConnection(IProcessConnection processConnection) AbstractServiceWrapper.getInstanceConnection(IProcessConnection)method implementation. .Methods inherited from class com._1c.g5.v8.dt.internal.pm.wrappers.AbstractServiceWrappercreateProxy
- 
Constructor Details- 
SingletonServiceWrapperInherits super constructor.- Parameters:
- serviceBinder-
 
 
- 
- 
Method Details- 
disposeDescription copied from interface:IServiceWrapperDisposes instance associated with given proxy.- Specified by:
- disposein interface- IServiceWrapper<T>
- Overrides:
- disposein class- AbstractServiceWrapper<T>
- Parameters:
- proxy- given proxy (not- null)
 
- 
getInstanceConnectionprotected IInstanceConnection getInstanceConnection(IProcessConnection processConnection) throws IOException, InstantiationException, IllegalAccessException AbstractServiceWrapper.getInstanceConnection(IProcessConnection)method implementation. .- Specified by:
- getInstanceConnectionin class- AbstractServiceWrapper<T>
- Parameters:
- processConnection- given remote invoker provider (not- null)
- Returns:
- a remote invoker for the service (not null)
- Throws:
- IOException- if connection with process fails
- InstantiationException- if the implementation represents an abstract class, an interface, an array class, a primitive type, or void; or if the class has no nullary constructor; or if the instantiation fails for some other reason
- IllegalAccessException- if could not instantiate the implementation by it's default constructor (for instance, if the default constructor is unaccessible)
 
 
-