com.sun.enterprise.config.serverbeans
Interface CustomResource

All Superinterfaces:
BindableResource, org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, javax.validation.Payload, org.jvnet.hk2.config.types.PropertyBag, Resource

public interface CustomResource
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, Resource, org.jvnet.hk2.config.types.PropertyBag, BindableResource

Custom (or generic) resource managed by a user-written factory class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getEnabled()
          Gets the value of the enabled property.
 java.lang.String getFactoryClass()
          Gets the value of the factoryClass property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 java.lang.String getResType()
          Gets the value of the resType property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEnabled(java.lang.String value)
          Sets the value of the enabled property.
 void setFactoryClass(java.lang.String value)
          Sets the value of the factoryClass property.
 void setResType(java.lang.String value)
          Sets the value of the resType property.
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
 
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getObjectType, setObjectType
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 

Method Detail

getResType

@NotNull
java.lang.String getResType()
Gets the value of the resType property.

Returns:
possible object is String

setResType

void setResType(java.lang.String value)
                throws java.beans.PropertyVetoException
Sets the value of the resType property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getFactoryClass

@NotNull
@JavaClassName
java.lang.String getFactoryClass()
Gets the value of the factoryClass property.

Returns:
possible object is String

setFactoryClass

void setFactoryClass(java.lang.String value)
                     throws java.beans.PropertyVetoException
Sets the value of the factoryClass property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getEnabled

java.lang.String getEnabled()
Gets the value of the enabled property.

Specified by:
getEnabled in interface BindableResource
Returns:
possible object is String

setEnabled

void setEnabled(java.lang.String value)
                throws java.beans.PropertyVetoException
Sets the value of the enabled property.

Specified by:
setEnabled in interface BindableResource
Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getDescription

java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(java.lang.String value)
                    throws java.beans.PropertyVetoException
Sets the value of the description property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.