Ejbpublic class Ejb extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class Ejb matches the schema element ejb
Generated on Wed Mar 03 14:29:49 PST 2004 |
Fields Summary |
---|
static Vector | comparators | public static final String | AVAILABILITYENABLED | public static final String | EJB_NAME | public static final String | JNDI_NAME | public static final String | EJB_REF | public static final String | RESOURCE_REF | public static final String | RESOURCE_ENV_REF | public static final String | SERVICE_REF | public static final String | PASS_BY_REFERENCE | public static final String | CMP | public static final String | PRINCIPAL | public static final String | MDB_CONNECTION_FACTORY | public static final String | JMS_DURABLE_SUBSCRIPTION_NAME | public static final String | JMS_MAX_MESSAGES_LOAD | public static final String | IOR_SECURITY_CONFIG | public static final String | IS_READ_ONLY_BEAN | public static final String | REFRESH_PERIOD_IN_SECONDS | public static final String | COMMIT_OPTION | public static final String | CMT_TIMEOUT_IN_SECONDS | public static final String | USE_THREAD_POOL_ID | public static final String | GEN_CLASSES | public static final String | BEAN_POOL | public static final String | BEAN_CACHE | public static final String | MDB_RESOURCE_ADAPTER | public static final String | WEBSERVICE_ENDPOINT | public static final String | FLUSH_AT_END_OF_METHOD | public static final String | CHECKPOINTED_METHODS | public static final String | CHECKPOINT_AT_END_OF_METHOD |
Constructors Summary |
---|
public Ejb() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public Ejb(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("ejb-name", // NOI18N
EJB_NAME,
Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("jndi-name", // NOI18N
JNDI_NAME,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("ejb-ref", // NOI18N
EJB_REF,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
EjbRef.class);
this.createProperty("resource-ref", // NOI18N
RESOURCE_REF,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
ResourceRef.class);
this.createProperty("resource-env-ref", // NOI18N
RESOURCE_ENV_REF,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
ResourceEnvRef.class);
this.createProperty("service-ref", // NOI18N
SERVICE_REF,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
ServiceRef.class);
this.createProperty("pass-by-reference", // NOI18N
PASS_BY_REFERENCE,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("cmp", // NOI18N
CMP,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
Cmp.class);
this.createProperty("principal", // NOI18N
PRINCIPAL,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
Principal.class);
this.createProperty("mdb-connection-factory", // NOI18N
MDB_CONNECTION_FACTORY,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
MdbConnectionFactory.class);
this.createProperty("jms-durable-subscription-name", // NOI18N
JMS_DURABLE_SUBSCRIPTION_NAME,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("jms-max-messages-load", // NOI18N
JMS_MAX_MESSAGES_LOAD,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("ior-security-config", // NOI18N
IOR_SECURITY_CONFIG,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
IorSecurityConfig.class);
this.createProperty("is-read-only-bean", // NOI18N
IS_READ_ONLY_BEAN,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("refresh-period-in-seconds", // NOI18N
REFRESH_PERIOD_IN_SECONDS,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("commit-option", // NOI18N
COMMIT_OPTION,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("cmt-timeout-in-seconds", // NOI18N
CMT_TIMEOUT_IN_SECONDS,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("use-thread-pool-id", // NOI18N
USE_THREAD_POOL_ID,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("gen-classes", // NOI18N
GEN_CLASSES,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
GenClasses.class);
this.createProperty("bean-pool", // NOI18N
BEAN_POOL,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
BeanPool.class);
this.createProperty("bean-cache", // NOI18N
BEAN_CACHE,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
BeanCache.class);
this.createProperty("mdb-resource-adapter", // NOI18N
MDB_RESOURCE_ADAPTER,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
MdbResourceAdapter.class);
this.createProperty("webservice-endpoint", // NOI18N
WEBSERVICE_ENDPOINT,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
WebserviceEndpoint.class);
this.createProperty("flush-at-end-of-method", // NOI18N
FLUSH_AT_END_OF_METHOD,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
FlushAtEndOfMethod.class);
this.createProperty("checkpointed-methods", // NOI18N
CHECKPOINTED_METHODS,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("checkpoint-at-end-of-method", // NOI18N
CHECKPOINT_AT_END_OF_METHOD,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
CheckpointAtEndOfMethod.class);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public int | addEjbRef(com.sun.enterprise.tools.common.dd.EjbRef value)
return this.addValue(EJB_REF, value);
| public int | addResourceEnvRef(com.sun.enterprise.tools.common.dd.ResourceEnvRef value)
return this.addValue(RESOURCE_ENV_REF, value);
| public int | addResourceRef(com.sun.enterprise.tools.common.dd.ResourceRef value)
return this.addValue(RESOURCE_REF, value);
| public int | addServiceRef(com.sun.enterprise.tools.common.dd.ServiceRef value)
return this.addValue(SERVICE_REF, value);
| public int | addWebserviceEndpoint(com.sun.enterprise.tools.common.dd.WebserviceEndpoint value)
return this.addValue(WEBSERVICE_ENDPOINT, value);
| public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
str.append(indent);
str.append("EjbName"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getEjbName();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(EJB_NAME, 0, str, indent);
str.append(indent);
str.append("JndiName"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getJndiName();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(JNDI_NAME, 0, str, indent);
str.append(indent);
str.append("EjbRef["+this.sizeEjbRef()+"]"); // NOI18N
for(int i=0; i<this.sizeEjbRef(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getEjbRef(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(EJB_REF, i, str, indent);
}
str.append(indent);
str.append("ResourceRef["+this.sizeResourceRef()+"]"); // NOI18N
for(int i=0; i<this.sizeResourceRef(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getResourceRef(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(RESOURCE_REF, i, str, indent);
}
str.append(indent);
str.append("ResourceEnvRef["+this.sizeResourceEnvRef()+"]"); // NOI18N
for(int i=0; i<this.sizeResourceEnvRef(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getResourceEnvRef(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(RESOURCE_ENV_REF, i, str, indent);
}
str.append(indent);
str.append("ServiceRef["+this.sizeServiceRef()+"]"); // NOI18N
for(int i=0; i<this.sizeServiceRef(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getServiceRef(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(SERVICE_REF, i, str, indent);
}
str.append(indent);
str.append("PassByReference"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getPassByReference();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(PASS_BY_REFERENCE, 0, str, indent);
str.append(indent);
str.append("Cmp"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getCmp();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(CMP, 0, str, indent);
str.append(indent);
str.append("Principal"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getPrincipal();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(PRINCIPAL, 0, str, indent);
str.append(indent);
str.append("MdbConnectionFactory"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getMdbConnectionFactory();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(MDB_CONNECTION_FACTORY, 0, str, indent);
str.append(indent);
str.append("JmsDurableSubscriptionName"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getJmsDurableSubscriptionName();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(JMS_DURABLE_SUBSCRIPTION_NAME, 0, str, indent);
str.append(indent);
str.append("JmsMaxMessagesLoad"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getJmsMaxMessagesLoad();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(JMS_MAX_MESSAGES_LOAD, 0, str, indent);
str.append(indent);
str.append("IorSecurityConfig"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getIorSecurityConfig();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(IOR_SECURITY_CONFIG, 0, str, indent);
str.append(indent);
str.append("IsReadOnlyBean"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getIsReadOnlyBean();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(IS_READ_ONLY_BEAN, 0, str, indent);
str.append(indent);
str.append("RefreshPeriodInSeconds"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getRefreshPeriodInSeconds();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(REFRESH_PERIOD_IN_SECONDS, 0, str, indent);
str.append(indent);
str.append("CommitOption"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getCommitOption();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(COMMIT_OPTION, 0, str, indent);
str.append(indent);
str.append("CmtTimeoutInSeconds"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getCmtTimeoutInSeconds();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(CMT_TIMEOUT_IN_SECONDS, 0, str, indent);
str.append(indent);
str.append("UseThreadPoolId"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getUseThreadPoolId();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(USE_THREAD_POOL_ID, 0, str, indent);
str.append(indent);
str.append("GenClasses"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getGenClasses();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(GEN_CLASSES, 0, str, indent);
str.append(indent);
str.append("BeanPool"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getBeanPool();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(BEAN_POOL, 0, str, indent);
str.append(indent);
str.append("BeanCache"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getBeanCache();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(BEAN_CACHE, 0, str, indent);
str.append(indent);
str.append("MdbResourceAdapter"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getMdbResourceAdapter();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(MDB_RESOURCE_ADAPTER, 0, str, indent);
str.append(indent);
str.append("WebserviceEndpoint["+this.sizeWebserviceEndpoint()+"]"); // NOI18N
for(int i=0; i<this.sizeWebserviceEndpoint(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getWebserviceEndpoint(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(WEBSERVICE_ENDPOINT, i, str, indent);
}
str.append(indent);
str.append("FlushAtEndOfMethod"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getFlushAtEndOfMethod();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(FLUSH_AT_END_OF_METHOD, 0, str, indent);
str.append(indent);
str.append("CheckpointedMethods"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getCheckpointedMethods();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(CHECKPOINTED_METHODS, 0, str, indent);
str.append(indent);
str.append("CheckpointAtEndOfMethod"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getCheckpointAtEndOfMethod();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(CHECKPOINT_AT_END_OF_METHOD, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("Ejb\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getAvailabilityEnabled()
return getAttributeValue(AVAILABILITYENABLED);
| public BeanCache | getBeanCache()
return (BeanCache)this.getValue(BEAN_CACHE);
| public BeanPool | getBeanPool()
return (BeanPool)this.getValue(BEAN_POOL);
| public CheckpointAtEndOfMethod | getCheckpointAtEndOfMethod()
return (CheckpointAtEndOfMethod)this.getValue(CHECKPOINT_AT_END_OF_METHOD);
| public java.lang.String | getCheckpointedMethods()
return (String)this.getValue(CHECKPOINTED_METHODS);
| public Cmp | getCmp()
return (Cmp)this.getValue(CMP);
| public java.lang.String | getCmtTimeoutInSeconds()
return (String)this.getValue(CMT_TIMEOUT_IN_SECONDS);
| public java.lang.String | getCommitOption()
return (String)this.getValue(COMMIT_OPTION);
| public java.lang.String | getEjbName()
return (String)this.getValue(EJB_NAME);
| public com.sun.enterprise.tools.common.dd.EjbRef | getEjbRef(int index)
return (EjbRef)this.getValue(EJB_REF, index);
| public com.sun.enterprise.tools.common.dd.EjbRef[] | getEjbRef()
return (EjbRef[])this.getValues(EJB_REF);
| public FlushAtEndOfMethod | getFlushAtEndOfMethod()
return (FlushAtEndOfMethod)this.getValue(FLUSH_AT_END_OF_METHOD);
| public GenClasses | getGenClasses()
return (GenClasses)this.getValue(GEN_CLASSES);
| public IorSecurityConfig | getIorSecurityConfig()
return (IorSecurityConfig)this.getValue(IOR_SECURITY_CONFIG);
| public java.lang.String | getIsReadOnlyBean()
return (String)this.getValue(IS_READ_ONLY_BEAN);
| public java.lang.String | getJmsDurableSubscriptionName()
return (String)this.getValue(JMS_DURABLE_SUBSCRIPTION_NAME);
| public java.lang.String | getJmsMaxMessagesLoad()
return (String)this.getValue(JMS_MAX_MESSAGES_LOAD);
| public java.lang.String | getJndiName()
return (String)this.getValue(JNDI_NAME);
| public MdbConnectionFactory | getMdbConnectionFactory()
return (MdbConnectionFactory)this.getValue(MDB_CONNECTION_FACTORY);
| public MdbResourceAdapter | getMdbResourceAdapter()
return (MdbResourceAdapter)this.getValue(MDB_RESOURCE_ADAPTER);
| public java.lang.String | getPassByReference()
return (String)this.getValue(PASS_BY_REFERENCE);
| public Principal | getPrincipal()
return (Principal)this.getValue(PRINCIPAL);
| public java.lang.String | getRefreshPeriodInSeconds()
return (String)this.getValue(REFRESH_PERIOD_IN_SECONDS);
| public com.sun.enterprise.tools.common.dd.ResourceEnvRef | getResourceEnvRef(int index)
return (ResourceEnvRef)this.getValue(RESOURCE_ENV_REF, index);
| public com.sun.enterprise.tools.common.dd.ResourceEnvRef[] | getResourceEnvRef()
return (ResourceEnvRef[])this.getValues(RESOURCE_ENV_REF);
| public com.sun.enterprise.tools.common.dd.ResourceRef | getResourceRef(int index)
return (ResourceRef)this.getValue(RESOURCE_REF, index);
| public com.sun.enterprise.tools.common.dd.ResourceRef[] | getResourceRef()
return (ResourceRef[])this.getValues(RESOURCE_REF);
| public com.sun.enterprise.tools.common.dd.ServiceRef | getServiceRef(int index)
return (ServiceRef)this.getValue(SERVICE_REF, index);
| public com.sun.enterprise.tools.common.dd.ServiceRef[] | getServiceRef()
return (ServiceRef[])this.getValues(SERVICE_REF);
| public java.lang.String | getUseThreadPoolId()
return (String)this.getValue(USE_THREAD_POOL_ID);
| public com.sun.enterprise.tools.common.dd.WebserviceEndpoint | getWebserviceEndpoint(int index)
return (WebserviceEndpoint)this.getValue(WEBSERVICE_ENDPOINT, index);
| public com.sun.enterprise.tools.common.dd.WebserviceEndpoint[] | getWebserviceEndpoint()
return (WebserviceEndpoint[])this.getValues(WEBSERVICE_ENDPOINT);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public int | removeEjbRef(com.sun.enterprise.tools.common.dd.EjbRef value)
return this.removeValue(EJB_REF, value);
| public int | removeResourceEnvRef(com.sun.enterprise.tools.common.dd.ResourceEnvRef value)
return this.removeValue(RESOURCE_ENV_REF, value);
| public int | removeResourceRef(com.sun.enterprise.tools.common.dd.ResourceRef value)
return this.removeValue(RESOURCE_REF, value);
| public int | removeServiceRef(com.sun.enterprise.tools.common.dd.ServiceRef value)
return this.removeValue(SERVICE_REF, value);
| public int | removeWebserviceEndpoint(com.sun.enterprise.tools.common.dd.WebserviceEndpoint value)
return this.removeValue(WEBSERVICE_ENDPOINT, value);
| public void | setAvailabilityEnabled(java.lang.String value)
setAttributeValue(AVAILABILITYENABLED, value);
| public void | setBeanCache(BeanCache value)
this.setValue(BEAN_CACHE, value);
| public void | setBeanPool(BeanPool value)
this.setValue(BEAN_POOL, value);
| public void | setCheckpointAtEndOfMethod(CheckpointAtEndOfMethod value)
this.setValue(CHECKPOINT_AT_END_OF_METHOD, value);
| public void | setCheckpointedMethods(java.lang.String value)
this.setValue(CHECKPOINTED_METHODS, value);
| public void | setCmp(Cmp value)
this.setValue(CMP, value);
| public void | setCmtTimeoutInSeconds(java.lang.String value)
this.setValue(CMT_TIMEOUT_IN_SECONDS, value);
| public void | setCommitOption(java.lang.String value)
this.setValue(COMMIT_OPTION, value);
| public void | setEjbName(java.lang.String value)
this.setValue(EJB_NAME, value);
| public void | setEjbRef(int index, com.sun.enterprise.tools.common.dd.EjbRef value)
this.setValue(EJB_REF, index, value);
| public void | setEjbRef(com.sun.enterprise.tools.common.dd.EjbRef[] value)
this.setValue(EJB_REF, value);
| public void | setFlushAtEndOfMethod(FlushAtEndOfMethod value)
this.setValue(FLUSH_AT_END_OF_METHOD, value);
| public void | setGenClasses(GenClasses value)
this.setValue(GEN_CLASSES, value);
| public void | setIorSecurityConfig(IorSecurityConfig value)
this.setValue(IOR_SECURITY_CONFIG, value);
| public void | setIsReadOnlyBean(java.lang.String value)
this.setValue(IS_READ_ONLY_BEAN, value);
| public void | setJmsDurableSubscriptionName(java.lang.String value)
this.setValue(JMS_DURABLE_SUBSCRIPTION_NAME, value);
| public void | setJmsMaxMessagesLoad(java.lang.String value)
this.setValue(JMS_MAX_MESSAGES_LOAD, value);
| public void | setJndiName(java.lang.String value)
this.setValue(JNDI_NAME, value);
| public void | setMdbConnectionFactory(MdbConnectionFactory value)
this.setValue(MDB_CONNECTION_FACTORY, value);
| public void | setMdbResourceAdapter(MdbResourceAdapter value)
this.setValue(MDB_RESOURCE_ADAPTER, value);
| public void | setPassByReference(java.lang.String value)
this.setValue(PASS_BY_REFERENCE, value);
| public void | setPrincipal(Principal value)
this.setValue(PRINCIPAL, value);
| public void | setRefreshPeriodInSeconds(java.lang.String value)
this.setValue(REFRESH_PERIOD_IN_SECONDS, value);
| public void | setResourceEnvRef(int index, com.sun.enterprise.tools.common.dd.ResourceEnvRef value)
this.setValue(RESOURCE_ENV_REF, index, value);
| public void | setResourceEnvRef(com.sun.enterprise.tools.common.dd.ResourceEnvRef[] value)
this.setValue(RESOURCE_ENV_REF, value);
| public void | setResourceRef(int index, com.sun.enterprise.tools.common.dd.ResourceRef value)
this.setValue(RESOURCE_REF, index, value);
| public void | setResourceRef(com.sun.enterprise.tools.common.dd.ResourceRef[] value)
this.setValue(RESOURCE_REF, value);
| public void | setServiceRef(int index, com.sun.enterprise.tools.common.dd.ServiceRef value)
this.setValue(SERVICE_REF, index, value);
| public void | setServiceRef(com.sun.enterprise.tools.common.dd.ServiceRef[] value)
this.setValue(SERVICE_REF, value);
| public void | setUseThreadPoolId(java.lang.String value)
this.setValue(USE_THREAD_POOL_ID, value);
| public void | setWebserviceEndpoint(int index, com.sun.enterprise.tools.common.dd.WebserviceEndpoint value)
this.setValue(WEBSERVICE_ENDPOINT, index, value);
| public void | setWebserviceEndpoint(com.sun.enterprise.tools.common.dd.WebserviceEndpoint[] value)
this.setValue(WEBSERVICE_ENDPOINT, value);
| public int | sizeEjbRef()
return this.size(EJB_REF);
| public int | sizeResourceEnvRef()
return this.size(RESOURCE_ENV_REF);
| public int | sizeResourceRef()
return this.size(RESOURCE_REF);
| public int | sizeServiceRef()
return this.size(SERVICE_REF);
| public int | sizeWebserviceEndpoint()
return this.size(WEBSERVICE_ENDPOINT);
| public void | validate()
boolean restrictionFailure = false;
// Validating property availabilityEnabled
if (getAvailabilityEnabled() != null) {
}
// Validating property ejbName
if (getEjbName() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getEjbName() == null", "ejbName", this); // NOI18N
}
// Validating property jndiName
if (getJndiName() != null) {
}
// Validating property ejbRef
for (int _index = 0; _index < sizeEjbRef(); ++_index) {
EjbRef element = getEjbRef(_index);
if (element != null) {
element.validate();
}
}
// Validating property resourceRef
for (int _index = 0; _index < sizeResourceRef(); ++_index) {
ResourceRef element = getResourceRef(_index);
if (element != null) {
element.validate();
}
}
// Validating property resourceEnvRef
for (int _index = 0; _index < sizeResourceEnvRef(); ++_index) {
ResourceEnvRef element = getResourceEnvRef(_index);
if (element != null) {
element.validate();
}
}
// Validating property serviceRef
for (int _index = 0; _index < sizeServiceRef(); ++_index) {
ServiceRef element = getServiceRef(_index);
if (element != null) {
element.validate();
}
}
// Validating property passByReference
if (getPassByReference() != null) {
}
// Validating property cmp
if (getCmp() != null) {
getCmp().validate();
}
// Validating property principal
if (getPrincipal() != null) {
getPrincipal().validate();
}
// Validating property mdbConnectionFactory
if (getMdbConnectionFactory() != null) {
getMdbConnectionFactory().validate();
}
// Validating property jmsDurableSubscriptionName
if (getJmsDurableSubscriptionName() != null) {
}
// Validating property jmsMaxMessagesLoad
if (getJmsMaxMessagesLoad() != null) {
}
// Validating property iorSecurityConfig
if (getIorSecurityConfig() != null) {
getIorSecurityConfig().validate();
}
// Validating property isReadOnlyBean
if (getIsReadOnlyBean() != null) {
}
// Validating property refreshPeriodInSeconds
if (getRefreshPeriodInSeconds() != null) {
}
// Validating property commitOption
if (getCommitOption() != null) {
}
// Validating property cmtTimeoutInSeconds
if (getCmtTimeoutInSeconds() != null) {
}
// Validating property useThreadPoolId
if (getUseThreadPoolId() != null) {
}
// Validating property genClasses
if (getGenClasses() != null) {
getGenClasses().validate();
}
// Validating property beanPool
if (getBeanPool() != null) {
getBeanPool().validate();
}
// Validating property beanCache
if (getBeanCache() != null) {
getBeanCache().validate();
}
// Validating property mdbResourceAdapter
if (getMdbResourceAdapter() != null) {
getMdbResourceAdapter().validate();
}
// Validating property webserviceEndpoint
for (int _index = 0; _index < sizeWebserviceEndpoint(); ++_index) {
WebserviceEndpoint element = getWebserviceEndpoint(_index);
if (element != null) {
element.validate();
}
}
// Validating property flushAtEndOfMethod
if (getFlushAtEndOfMethod() != null) {
getFlushAtEndOfMethod().validate();
}
// Validating property checkpointedMethods
if (getCheckpointedMethods() != null) {
}
// Validating property checkpointAtEndOfMethod
if (getCheckpointAtEndOfMethod() != null) {
getCheckpointAtEndOfMethod().validate();
}
|
|