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

/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/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
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()};
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...]
/glassfish-3.1.2/deployment/javax.enterprise.deploy/src/main/java/javax/enterprise/deploy/spi/
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...]
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...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DCacheModule.java78 * @param bean ias-web app config bean
85 SunWebApp bean) throws Exception {
88 Cache cacheConfig = bean.getCache();
243 * @param bean ias-web app cache-mapping config bean
84 configureResponseCache(WebModule app, SunWebApp bean) argument
H A DWebModule.java152 private Application bean; field in class:WebModule
200 * set the sun-web.xml config bean
207 * gets the sun-web.xml config bean
967 if (bean != null) {
968 List<Property> props = bean.getProperty();
1149 return bean;
1152 public void setBean(Application bean) { argument
1153 this.bean = bean;
1300 void configureMiscSettings(SunWebApp bean, VirtualServe argument
1471 configureLoader(SunWebApp bean) argument
1897 configureCookieProperties(CookieProperties bean) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
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 ;
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 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);
/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/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...]
/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/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/
H A DWebServiceEndpointReaderImpl.java62 WebServiceEndpoint bean) {
66 _wsEndpoint = bean;
61 WebServiceEndpointReaderImpl(String name, ApplicationRef ref, Application application, WebServiceEndpoint bean) argument
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployapi/config/
H A DSunConfigBean.java62 * getXPathToBeanMapping method. Each bean is associated with a
70 // Parent of this config bean. All config beans but root beans
71 // have a parent config bean
92 * for the standard bean.
93 * @param bean The DDBean containing the XML data to be
96 * a configuration bean. This DDBean is considered
102 public DConfigBean getDConfigBean(DDBean bean) argument
109 if (mapping.containsKey(bean.getXpath())) {
110 Class c = (Class) mapping.get(bean.getXpath());
116 child.setDDBean(bean);
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/codegen/
H A DWrapperGenerator.java65 private Class bean; field in class:WrapperGenerator
76 * as the bean class, NOT the remote/local interface.
80 String pname = getPackageName(bean.getName());
110 //IASRI 4725194 this.bean = cl.loadClass(dd.getEjbClassName());
111 this.bean = cl.loadClass(dd.getEjbImplClassName());
148 String wrapperClassName = getUniqueClassName(context, bean.getName(),
190 String packageName = getPackageName(bean.getName());
275 // print code for calling biz method on bean class
H A DHomeGenerator.java74 private Class bean; field in class:HomeGenerator
99 * as the bean class, NOT the home interface.
103 String pname = getPackageName(bean.getName());
146 this.bean =
160 if ( !SessionBean.class.isAssignableFrom(bean)
161 && !EntityBean.class.isAssignableFrom(bean)) {
172 allbeanMethods = removeDups(bean.getMethods());
180 String homeClassName = getUniqueClassName(context, bean.getName(),
353 p.pln("\t" + bean.getName() + " ejb = (" + bean
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DContainerSynchronization.java58 * All bean instances (of all types) participating in the tx must be
99 void addBean(EJBContextImpl bean) argument
101 beans.add(bean);
104 void removeBean(EJBContextImpl bean) argument
106 beans.remove(bean);
131 // first call beforeCompletion for each bean instance
151 // Might be null if bean was removed. Just skip it.
204 // call afterCompletion for each bean instance
212 // Might be null if bean was removed. Just skip it.
H A DBaseContainer.java169 protected static final String SINGLETON_BEAN_POOL_PROP = "singleton-bean-pool";
190 // True if bean has a LocalHome/Local view
194 // True if bean exposes a local home view
197 // True if bean exposes a local business view
258 // True if bean has a RemoteHome/Remote view
262 // True if bean exposes a RemoteHome view
265 // True if bean exposes a Remote Business view.
449 // True if there is at least one asynchronous method exposed from the bean.
536 * If bean class isn't explicitly marked Serializable, generate
558 assertFullProfile("defines asynchronous session bean method
2577 removeBeanUnchecked(EJBLocalObject bean) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/cmp/
H A DCMPBeanHelper.java66 /** Provides static helper methods for CMP bean implementation to simplify
95 * Called from a CMP bean to log JDOException message
99 * @param beanName the name of the calling bean.
111 * Called from a CMP bean to log JDOException message
115 * @param beanName the name of the calling bean.
130 * Called from a CMP bean to log JDOException message thrown
133 * @param beanName the name of the calling bean.
146 * Called from a CMP bean to log JDOException message thrown
149 * @param beanName the name of the calling bean.
172 * Called from a CMP bean t
258 assertPersistenceManagerNotNull(PersistenceManager pm, Object bean) argument
277 assertPersistenceManagerIsNull(PersistenceManager pm, Object bean, StringBuffer buf) argument
302 assertNotContainerTransaction(Object bean) argument
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DGrizzlyService.java387 ObservableBean bean = (ObservableBean) ConfigSupport.getImpl(networkConfig.getNetworkListeners());
388 bean.addListener(configListener);
389 bean = (ObservableBean) ConfigSupport.getImpl(config.getHttpService());
390 bean.addListener(configListener);
391 bean = (ObservableBean) ConfigSupport.getImpl(server);
392 bean.addListener(configListener);
529 private void addChangeListener(ConfigBeanProxy bean) { argument
530 if(bean != null) {
531 ((ObservableBean) ConfigSupport.getImpl(bean)).addListener(configListener);
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/
H A DContainer.java75 // These values are for the transaction attribute of a bean method
95 // These values are for the security attribute of a bean method
111 * view of the bean. False if for the RemoteBusiness view.
170 * Remove a bean. Used by the PersistenceManager.
172 void removeBeanUnchecked(EJBLocalObject bean); argument
175 * Remove a bean given primary key. Used by the PersistenceManager.
181 * query is about to be invoked on a bean of the ejb type
184 * finder method, such as calling ejbStore on bean instances.
198 * on a bean.
204 * on a bean
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/com/sun/enterprise/web/connector/grizzly/
H A DGrizzlyConnectorLauncher.java941 public void registerComponent(Object bean, ObjectName oname, String type) argument
943 Registry.getRegistry(null, null).registerComponent(bean,oname,type);

Completed in 55 milliseconds