public class ComponentValidator extends DefaultDOLVisitor implements ComponentVisitor
| Modifier and Type | Field and Description |
|---|---|
protected Application |
application |
protected BundleDescriptor |
bundleDescriptor |
static Logger |
deplLogger |
| Constructor and Description |
|---|
ComponentValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BundleDescriptor bundleDescriptor)
visits a J2EE component bundle descriptor.
|
protected void |
accept(EjbReference ejbRef)
visits an ejb reference for the last J2EE component visited
|
protected void |
accept(InjectionCapable injectable)
visits all entries within the component environment for which
isInjectable() == true.
|
protected void |
accept(MessageDestinationDescriptor msgDest)
visits an message destination for the last J2EE component visited
|
protected void |
accept(MessageDestinationReferenceDescriptor msgDestRef)
Sets the JNDI name to default if not already set
|
protected void |
accept(MessageDestinationReferencer msgDestReferencer)
Visits a message destination referencer for the last J2EE
component visited
|
protected void |
accept(ResourceEnvReferenceDescriptor resourceEnvRef)
visits an resource environment reference for the last J2EE component visited
|
protected void |
accept(ResourceReferenceDescriptor resRef)
visits an resource reference for the last J2EE component visited
|
protected void |
accept(ServiceReferenceDescriptor serviceRef)
Visits a service reference for the last J2EE component visited
|
protected void |
acceptWithCL(InjectionCapable injectable) |
protected void |
acceptWithoutCL(InjectionCapable injectable) |
protected void |
computeRunAsPrincipalDefault(RunAsIdentityDescriptor runAs,
Application application)
Set a default RunAs principal to given RunAsIdentityDescriptor
if necessary.
|
protected Application |
getApplication() |
protected BundleDescriptor |
getBundleDescriptor() |
protected String |
getDefaultEjbJndiName(String intfName) |
protected EjbBundleDescriptor |
getEjbBundleDescriptor() |
protected EjbDescriptor |
getEjbDescriptor() |
protected Collection |
getEjbDescriptors() |
accept, getSubDescriptorVisitorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getSubDescriptorVisitorpublic static final Logger deplLogger
protected BundleDescriptor bundleDescriptor
protected Application application
protected Application getApplication()
protected BundleDescriptor getBundleDescriptor()
public void accept(BundleDescriptor bundleDescriptor)
ComponentVisitoraccept in interface ComponentVisitoraccept in class DefaultDOLVisitorprotected void accept(MessageDestinationReferencer msgDestReferencer)
accept in class DefaultDOLVisitormsgDestReferencer - the message destination referencerprotected String getDefaultEjbJndiName(String intfName)
intfName - protected void accept(EjbReference ejbRef)
DefaultDOLVisitoraccept in class DefaultDOLVisitorejbRef - the ejb referenceprotected Collection getEjbDescriptors()
protected EjbDescriptor getEjbDescriptor()
protected EjbBundleDescriptor getEjbBundleDescriptor()
protected void accept(ServiceReferenceDescriptor serviceRef)
accept in class DefaultDOLVisitorserviceRef - the service referenceprotected void accept(ResourceReferenceDescriptor resRef)
DefaultDOLVisitoraccept in class DefaultDOLVisitorresRef - the resource referenceprotected void accept(ResourceEnvReferenceDescriptor resourceEnvRef)
DefaultDOLVisitoraccept in class DefaultDOLVisitorresourceEnvRef - the resource environment referenceprotected void accept(MessageDestinationReferenceDescriptor msgDestRef)
msgDestRef - protected void accept(MessageDestinationDescriptor msgDest)
DefaultDOLVisitoraccept in class DefaultDOLVisitormsgDest - the message destinationprotected void accept(InjectionCapable injectable)
injectable - InjectionCapable environment dependencyprotected void acceptWithCL(InjectionCapable injectable)
protected void acceptWithoutCL(InjectionCapable injectable)
protected void computeRunAsPrincipalDefault(RunAsIdentityDescriptor runAs, Application application)
runAs - application - RuntimeExceptionCopyright © 2019. All rights reserved.