com.sun.enterprise.config.serverbeans
Interface Resource

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
All Known Subinterfaces:
AdminObjectResource, BindableResource, ConnectorConnectionPool, ConnectorResource, CustomResource, ExternalJndiResource, JdbcConnectionPool, JdbcResource, MailResource, PersistenceManagerFactoryResource, ResourceAdapterConfig, ResourcePool, WorkSecurityMap

public interface Resource
extends org.jvnet.hk2.config.ConfigBeanProxy

Tag interface for all types of resource.

Author:
Jerome Dochez

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 java.lang.String getObjectType()
          Gets the value of the objectType property.
 void setObjectType(java.lang.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-admin|system-instance|user)")
java.lang.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-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(java.lang.String value)
                   throws java.beans.PropertyVetoException
Sets the value of the objectType property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException - if the change is unacceptable to one of the listeners.


Copyright © 2012 GlassFish Community. All Rights Reserved.