Interface Resource
-
- All Superinterfaces:
ConfigBeanProxy
- All Known Subinterfaces:
AdminObjectResource,BindableResource,ConnectorConnectionPool,ConnectorResource,ContextService,CustomResource,ExternalJndiResource,JdbcConnectionPool,JdbcResource,MailResource,ManagedExecutorService,ManagedExecutorServiceBase,ManagedScheduledExecutorService,ManagedThreadFactory,PersistenceManagerFactoryResource,ResourceAdapterConfig,ResourcePool,ServerResource,WorkSecurityMap
public interface Resource extends ConfigBeanProxy
Tag interface for all types of resource.- Author:
- Jerome Dochez
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDeploymentOrder()Gets the value of deployment-order.StringgetIdentity()@Pattern(regexp="(system-all|system-all-req|system-admin|system-instance|user)") StringgetObjectType()Gets the value of the objectType property.voidsetDeploymentOrder(String value)Sets the value of the deployment order.voidsetObjectType(String value)Sets the value of the objectType property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Method Detail
-
getObjectType
@Pattern(regexp="(system-all|system-all-req|system-admin|system-instance|user)") @Pattern(regexp="(system-all|system-all-req|system-admin|system-instance|user)") String getObjectType()
Gets the value of the objectType property. where object-type defines the type of the resource. It can be: system-all - These are system resources for all instances and DAS system-all-req - These are system-all resources that are required to be configured in the system (cannot be deleted). system-admin - These are system resources only in DAS system-instance - These are system resources only in instances (and not DAS) user - User resources (This is the default for all elements)- Returns:
- possible object is
String
-
setObjectType
void setObjectType(String value) throws PropertyVetoException
Sets the value of the objectType property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException- if the change is unacceptable to one of the listeners.
-
getDeploymentOrder
String getDeploymentOrder()
Gets the value of deployment-order.- Returns:
-
setDeploymentOrder
void setDeploymentOrder(String value) throws PropertyVetoException
Sets the value of the deployment order.- Parameters:
value-- Throws:
PropertyVetoException
-
getIdentity
@DuckTyped String getIdentity()
-
-