public interface UnitPaneFactory extends org.openbase.jul.pattern.Factory<AbstractUnitPane,rst.domotic.unit.UnitConfigType.UnitConfig>
| Modifier and Type | Method and Description |
|---|---|
<R extends AbstractUnitPane> |
newInitializedInstance(rst.rsb.ScopeType.Scope scope,
Class<R> unitRemoteClass)
Creates and initializes an unit pane out of the given unit scope and class type.
|
AbstractUnitPane |
newInitializedInstance(rst.rsb.ScopeType.Scope scope,
long timeout,
TimeUnit timeUnit)
Creates and initializes an unit pane out of the given unit scope.
|
AbstractUnitPane |
newInitializedInstance(rst.rsb.ScopeType.Scope scope,
rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type)
Creates and initializes an unit pane out of the given unit scope and type declaration.
|
AbstractUnitPane |
newInitializedInstance(String unitId,
long timeout,
TimeUnit timeUnit)
Creates and initializes an unit pane out of the given unit id.
|
AbstractUnitPane |
newInitializedInstance(rst.domotic.unit.UnitConfigType.UnitConfig config)
Creates and initializes an unit pane out of the given unit configuration.
|
<R extends AbstractUnitPane> |
newInstance(Class<R> unitRemoteClass)
Creates an unit pane out of the given unit class.
|
AbstractUnitPane |
newInstance(rst.rsb.ScopeType.Scope scope,
long timeout,
TimeUnit timeUnit)
Creates an unit pane out of the given unit scope.
|
AbstractUnitPane |
newInstance(String unitId,
long timeout,
TimeUnit timeUnit)
Creates an unit pane out of the given unit id.
|
AbstractUnitPane |
newInstance(rst.domotic.unit.UnitConfigType.UnitConfig config)
Creates an unit pane out of the given unit configuration.
|
AbstractUnitPane |
newInstance(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type)
Creates an unit pane out of the given unit configuration.
|
AbstractUnitPane newInitializedInstance(rst.domotic.unit.UnitConfigType.UnitConfig config) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
config - the unit configuration which defines the remote type and is used for the remote initialization.org.openbase.jul.exception.CouldNotPerformException - is thrown if any other error occurs during buildup.InterruptedExceptionAbstractUnitPane newInstance(rst.domotic.unit.UnitConfigType.UnitConfig config) throws org.openbase.jul.exception.InstantiationException
newInstance in interface org.openbase.jul.pattern.Factory<AbstractUnitPane,rst.domotic.unit.UnitConfigType.UnitConfig>config - the unit configuration which defines the remote type.org.openbase.jul.exception.InstantiationException<R extends AbstractUnitPane> R newInstance(Class<R> unitRemoteClass) throws org.openbase.jul.exception.InstantiationException
R - the unit pane class type.unitRemoteClass - the unit class which defines the remote type.org.openbase.jul.exception.InstantiationExceptionAbstractUnitPane newInstance(String unitId, long timeout, TimeUnit timeUnit) throws org.openbase.jul.exception.InstantiationException, org.openbase.jul.exception.CouldNotPerformException, InterruptedException
unitId - the unit id which defines the remote type.timeout - the timeout for the unit registry lookup.timeUnit - the time unit of the timeout.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.InterruptedException - is thrown if the thread was externally interrupted.org.openbase.jul.exception.CouldNotPerformExceptionAbstractUnitPane newInstance(rst.rsb.ScopeType.Scope scope, long timeout, TimeUnit timeUnit) throws org.openbase.jul.exception.InstantiationException, org.openbase.jul.exception.CouldNotPerformException, InterruptedException
scope - the unit scope which defines the remote type..timeout - the timeout for the unit registry lookup.timeUnit - the time unit of the timeout.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.InterruptedException - is thrown if the thread was externally interrupted.org.openbase.jul.exception.CouldNotPerformExceptionAbstractUnitPane newInitializedInstance(rst.rsb.ScopeType.Scope scope, rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type) throws org.openbase.jul.exception.InitializationException, org.openbase.jul.exception.InstantiationException, org.openbase.jul.exception.CouldNotPerformException, InterruptedException
scope - the unit scope which is used for the remote initialization.type - the unit to instantiate.org.openbase.jul.exception.InitializationException - is thrown if the unit could not be initialized with the given information.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.org.openbase.jul.exception.CouldNotPerformException - is thrown if any other error occurs during buildup.InterruptedException - is thrown if the thread was externally interrupted.<R extends AbstractUnitPane> R newInitializedInstance(rst.rsb.ScopeType.Scope scope, Class<R> unitRemoteClass) throws org.openbase.jul.exception.InitializationException, org.openbase.jul.exception.InstantiationException, org.openbase.jul.exception.CouldNotPerformException, InterruptedException
R - the unit pane class type.scope - the unit scope which is used for the remote initialization.unitRemoteClass - to identify the unit type.org.openbase.jul.exception.InitializationException - is thrown if the unit could not be initialized with the given information.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.org.openbase.jul.exception.CouldNotPerformException - is thrown if any other error occurs during buildup.InterruptedException - is thrown if the thread was externally interrupted. is thrown if the thread was externally interrupted.AbstractUnitPane newInitializedInstance(rst.rsb.ScopeType.Scope scope, long timeout, TimeUnit timeUnit) throws org.openbase.jul.exception.InitializationException, org.openbase.jul.exception.InstantiationException, org.openbase.jul.exception.CouldNotPerformException, InterruptedException
scope - the unit scope which is used for the remote initialization.timeout - the timeout for the unit registry lookup.timeUnit - the time unit of the timeout.org.openbase.jul.exception.InitializationException - is thrown if the unit could not be initialized with the given information.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.org.openbase.jul.exception.CouldNotPerformException - is thrown if any other error occurs during buildup.InterruptedException - is thrown if the thread was externally interrupted. is thrown if the thread was externally interrupted.AbstractUnitPane newInitializedInstance(String unitId, long timeout, TimeUnit timeUnit) throws org.openbase.jul.exception.InitializationException, org.openbase.jul.exception.InstantiationException, org.openbase.jul.exception.CouldNotPerformException, InterruptedException
unitId - the unit id which is used for the remote initialization.timeout - the timeout for the unit registry lookup.timeUnit - the time unit of the timeout.org.openbase.jul.exception.InitializationException - is thrown if the unit could not be initialized with the given information.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.org.openbase.jul.exception.CouldNotPerformException - is thrown if any other error occurs during buildup.InterruptedException - is thrown if the thread was externally interrupted.AbstractUnitPane newInstance(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type) throws org.openbase.jul.exception.InstantiationException
type - the unit type which is used for the remote initialization.org.openbase.jul.exception.InstantiationException - is thrown if the unit could not be instantiated with the given information.Copyright © 2015–2018 openbase.org. All rights reserved.