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 class
AdminObjectResource.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClassName()
Gets the value of the (admin object) classname property.String
getDescription()
Gets the value of the description property.String
getEnabled()
Gets the value of the enabled property.String
getIdentity()
List<Property>
getProperty()
Properties as perPropertyBag
@NotNull String
getResAdapter()
Gets the value of the resAdapter property.@NotNull String
getResType()
Interface definition for the administered objectvoid
setClassName(String value)
Sets the value of the (admin object) classname property.void
setDescription(String value)
Sets the value of the description property.void
setEnabled(String value)
Sets the value of the enabled property.void
setResAdapter(String value)
Sets the value of the resAdapter property.void
setResType(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:
getEnabled
in interfaceBindableResource
- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Specified by:
setEnabled
in 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:
getProperty
in interfacePropertyBag
- Returns:
- the property list
-
getIdentity
@DuckTyped String getIdentity()
- Specified by:
getIdentity
in interfaceBindableResource
- Specified by:
getIdentity
in interfaceResource
-
-