com.sun.enterprise.config.serverbeans
Interface BindableResource

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, javax.validation.Payload, Resource
All Known Subinterfaces:
AdminObjectResource, ConnectorResource, CustomResource, ExternalJndiResource, JdbcResource, MailResource, PersistenceManagerFactoryResource

@ResourceNameConstraint(message="{resourcename.invalid.character}",
                        payload=BindableResource.class)
public interface BindableResource
extends Resource, javax.validation.Payload


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 getEnabled()
          Gets the value of the enabled property.
 java.lang.String getJndiName()
          Gets the value of the jndiName property.
 void setEnabled(java.lang.String value)
          Sets the value of the enabled property.
 void setJndiName(java.lang.String value)
          Sets the value of the jndiName property.
 
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

getJndiName

@NotNull
@Pattern(regexp="[^\',][^\',\\\\]*")
java.lang.String getJndiName()
Gets the value of the jndiName property.

Returns:
possible object is String

setJndiName

void setJndiName(java.lang.String value)
                 throws java.beans.PropertyVetoException
Sets the value of the jndiName property.

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

getEnabled

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

Returns:
possible object is String

setEnabled

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

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


Copyright © 2012 GlassFish Community. All Rights Reserved.