Package org.glassfish.connectors.config
Interface AdminObjectResource
-
- All Superinterfaces:
BindableResource,ConfigBeanProxy,jakarta.validation.Payload,PropertyBag,Resource
@ResourceConfigCreator(commandName="create-admin-object") @ResourceTypeOrder(deploymentOrder=ADMIN_OBJECT_RESOURCE) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=AdminObjectResource.class) public interface AdminObjectResource extends ConfigBeanProxy, BindableResource, Resource, PropertyBag
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAdminObjectResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClassName()Gets the value of the (admin object) classname property.StringgetDescription()Gets the value of the description property.StringgetEnabled()Gets the value of the enabled property.StringgetIdentity()List<Property>getProperty()Properties as perPropertyBag@NotNull StringgetResAdapter()Gets the value of the resAdapter property.@NotNull StringgetResType()Interface definition for the administered objectvoidsetClassName(String value)Sets the value of the (admin object) classname property.voidsetDescription(String value)Sets the value of the description property.voidsetEnabled(String value)Sets the value of the enabled property.voidsetResAdapter(String value)Sets the value of the resAdapter property.voidsetResType(String value)Sets the Interface definition for the administered object-
Methods inherited from interface com.sun.enterprise.config.serverbeans.BindableResource
getJndiName, setJndiName
-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.Resource
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
-
-
-
-
Method Detail
-
getResType
@NotNull @NotNull String getResType()
Interface definition for the administered object- Returns:
- the interface definition
-
setResType
void setResType(String value) throws PropertyVetoException
Sets the Interface definition for the administered object- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getResAdapter
@NotNull @NotNull String getResAdapter()
Gets the value of the resAdapter property. Name of the inbound resource adapter- Returns:
- possible object is
String
-
getClassName
String getClassName()
Gets the value of the (admin object) classname property. Name of the admin object class- Returns:
- possible object is
String
-
setClassName
void setClassName(String value) throws PropertyVetoException
Sets the value of the (admin object) classname property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
setResAdapter
void setResAdapter(String value) throws PropertyVetoException
Sets the value of the resAdapter property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Specified by:
getEnabledin interfaceBindableResource- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabledin interfaceBindableResource- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentityin interfaceBindableResource- Specified by:
getIdentityin interfaceResource
-
-