Searched refs:bean (Results 1 - 25 of 52) sorted by relevance

123

/glassfish-3.1.2/deployment/javax.enterprise.deploy/src/main/java/javax/enterprise/deploy/model/
H A DXpathEvent.java51 private final DDBean bean; field in class:XpathEvent
70 * @param bean The ConfigBean being added/removed.
73 public XpathEvent(DDBean bean, Object typ) { argument
74 this.bean = bean; this.typ = typ;
87 * The bean being added/removed/changed.
88 * @return The bean being added/removed/changed.
90 public DDBean getBean() {return bean;}
/glassfish-3.1.2/deployment/javax.enterprise.deploy/src/main/java/javax/enterprise/deploy/spi/
H A DDeploymentConfiguration.java76 * Returns the top level configuration bean, DConfigBeanRoot,
78 * the designated DDBeanRoot bean.
80 * @param bean The top level bean that represents the
85 * a configuration bean
87 public DConfigBeanRoot getDConfigBeanRoot(DDBeanRoot bean) argument
93 * @param bean the top leve DConfigBean to remove.
94 * @throws BeanNotFoundException the bean provides is
97 public void removeDConfigBean(DConfigBeanRoot bean) argument
106 * @param bean Th
112 restoreDConfigBean(InputStream inputArchive, DDBeanRoot bean) argument
126 saveDConfigBean(OutputStream outputArchive,DConfigBeanRoot bean) argument
[all...]
H A DDConfigBean.java49 * The DConfigBean is a deployment configuration bean (DConfigBean)
84 * @return The bean class containing the XML text for
109 * for the standard bean.
110 * @param bean The DDBean containing the XML data to be
113 * a configuration bean. This DDBean is considered
119 public DConfigBean getDConfigBean(DDBean bean) argument
123 * Remove a child DConfigBean from this bean.
125 * @param bean The child DConfigBean to be removed.
126 * @throws BeanNotFoundException the bean provided
127 * is not in the child list of this bean
129 removeDConfigBean(DConfigBean bean) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DRefValidator.java64 public boolean isValid(final LbConfig bean, argument
66 if (bean == null) return true;
68 List<ServerRef> sRefs = bean.getRefs(ServerRef.class);
69 List<ClusterRef> cRefs = bean.getRefs(ClusterRef.class);
H A DNotDuplicateTargetNameValidator.java70 public boolean isValid(Named bean, ConstraintValidatorContext context ) { argument
81 if (bean instanceof Server) {
83 } else if (bean instanceof Cluster) {
85 } else if (bean instanceof Config) {
87 } else if (bean instanceof Node) {
90 // Unknown bean type. In this case we just go ahead and check
94 String name = bean.getName();
H A DConfigRefValidator.java70 public boolean isValid(final Named bean, argument
72 if (bean == null) return true;
78 if (bean instanceof Server) {
79 server = (Server)bean;
82 } else if (bean instanceof Cluster){
83 mycluster = (Cluster)bean ;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DSetMethodAction.java62 private Object bean; field in class:SetMethodAction
70 * Accepts java bean object and properties to be set.
72 public SetMethodAction(Object bean, Set props) { argument
73 this.bean = bean;
78 * Executes the setter methods in the java bean.
82 methods = bean.getClass().getMethods();
101 + bean.getClass().getName() + "with " +
105 meth.invoke(bean, new Object[]{prop.getResolvedValueObject()});
109 new Object[]{prop.getName(), bean
143 handleException(Exception ex, EnvironmentProperty prop, Object bean) argument
[all...]
H A DConnectorJavaBeanValidator.java62 public void validateJavaBean(Object bean, String rarName) { argument
63 if (bean != null) {
67 validator.getConstraintsForClass(bean.getClass());
71 Set constraintViolations = validator.validate(bean, array);
87 Object[] args = new Object[]{bean.getClass(), rarName, msg.toString()};
/glassfish-3.1.2/tests/community/web/jsfastrologer/src/java/web/jsf/bean/
H A DUserBean.java50 package web.jsf.bean;
/glassfish-3.1.2/tests/quicklook/web/jsfastrologer/src/java/web/jsf/bean/
H A DUserBean.java50 package web.jsf.bean;
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/
H A DEndPointImplBeanClassChecker.java49 // The condition of bean class here is that it does not implement SEI
64 private Class bean; field in class:EndPointImplBeanClassChecker
72 bean = beanClz;
81 bean = beanClz;
100 bean.getConstructor(new Class[0]);
124 new Object[] {e.getMessage().replace('/','.'), bean.getName()}));
128 int modifiers = bean.getModifiers();
185 if (bean.getDeclaredMethod("finalize", new Class[0]) != null) {
186 //result.fail, bean should not declare finalize
208 new Object[] {e.getMessage().replace('/','.'), bean
[all...]
H A DJAXRPCServiceImplBeanChk.java62 * the JAX-RPC Servlet model. The bean must implement all the method signatures of the SEI.
63 * The business methods of the bean must be public and must not be static.
66 * must not be final, must not be static.The bean must implement all the method signatures
74 * All the exceptions defined in the throws clause of the matching method of the session bean
94 Class<?> bean = loadImplBeanClass(descriptor, result);
95 if (bean == null) {
127 boolean implementsSEI = sei.isAssignableFrom(bean);
129 new EndPointImplBeanClassChecker(sei,bean,result,false);
143 // business methods of the bean should be public, not final and not static
H A DEJBServiceImplBeanChk.java63 * Interface, but it is not required to do so. The bean must implement all the method
65 * javax.rmi.RemoteException. The business methods of the bean must be public and must not
80 * All the exceptions defined in the throws clause of the matching method of the session bean
109 Class<?> bean = null;
112 bean = Class.forName(beanClass, false, getVerifierContext().getClassLoader());
145 // it should be a stateless session bean
146 boolean isSLSB = (javax.ejb.SessionBean.class).isAssignableFrom(bean);
147 boolean implementsSEI = sei.isAssignableFrom(bean);
166 EndPointImplBeanClassChecker checker = new EndPointImplBeanClassChecker(sei,bean,result,getVerifierContext().getSchemaVersion());
180 // business methods of the bean shoul
[all...]
/glassfish-3.1.2/common/container-common/src/main/java/org/glassfish/javaee/services/
H A DResourceManager.java124 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy)resources);
125 bean.addListener(this);
130 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy)server);
131 bean.addListener(this);
238 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy)server);
239 bean.removeListener(this);
525 ObservableBean bean = null;
529 bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy)instance);
530 bean.addListener(this);
532 bean
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/monitor/
H A DPoolMonitoringLevelListener.java85 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy) monitoringLevel);
86 bean.addListener(this);
96 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy)monitoringLevel);
97 bean.removeListener(this);
/glassfish-3.1.2/tests/embedded/maven-plugin/jsftest/src/main/java/org/glassfish/tests/embedded/jsftest/
H A DJSFTestBean.java43 import javax.faces.bean.ManagedBean;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/
H A DRegistryMBean.java111 /** Register a bean by creating a modeler mbean and adding it to the
118 * If the bean is an instance of DynamicMBean. it's metadata will be converted
132 * @param bean Object to be registered
140 public void registerComponent(Object bean, String oname, String type) argument
H A DRegistry.java303 /** Register a bean by creating a modeler mbean and adding it to the
310 * If the bean is an instance of DynamicMBean. it's metadata will be converted
324 * @param bean Object to be registered
332 public void registerComponent(Object bean, String oname, String type) argument
335 registerComponent(bean, new ObjectName(oname), type);
435 * Add a new bean metadata to the set of beans known to this registry.
438 * @param bean The managed bean to be added
441 public void addManagedBean(ManagedBean bean) { argument
443 descriptors.put(bean
512 removeManagedBean(ManagedBean bean) argument
619 findManagedBean(Object bean, Class<?> beanClass, String type) argument
784 registerComponent(Object bean, ObjectName oname, String type) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DConfigListenerTest.java92 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl(container.httpListener);
93 bean.removeListener(container);
113 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl(container.httpListener);
114 bean.removeListener(container);
H A DUnprocessedEventsTest.java92 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl(listener);
93 bean.addListener(this);
115 bean.removeListener(this);
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/
H A DStandAloneClusterReaderImpl.java103 HealthChecker bean = null;
105 bean = _serverRef.getHealthChecker();
107 if (bean == null) {
110 HealthCheckerReader reader = new HealthCheckerReaderImpl(bean);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/ejb30/
H A DEJBCreatePostConstruct.java50 * If the stateless session bean instance has an ejbCreate method, the container
53 * can only be applied to the bean’s ejbCreate method.
90 Class bean = Class.forName(beanClassName, false, jcl);
91 Method[] methods = bean.getMethods();
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/cli/
H A DListWebServicesCommand.java97 WebServicesDeploymentMBean bean = container.getDeploymentBean();
101 bean.getEndpoint(appName, moduleName, endpointName);
105 bean.getEndpoints(appName, moduleName);
109 bean.getEndpoints(appName);
112 Map<String, Map<String, Map<String, DeployedEndpointData>>> endpoints = bean.getEndpoints();
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/org/glassfish/resources/custom/factory/
H A DJavaBeanFactory.java69 Object bean = beanClass.newInstance();
114 setter.invoke(bean, result);
123 return bean;
/glassfish-3.1.2/core/kernel/src/test/java/com/sun/enterprise/v3/admin/
H A DConfigAttributeSetTest.java108 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl(listener);
109 bean.addListener(this);
127 bean.removeListener(this);

Completed in 29 milliseconds

123