Searched refs:target (Results 1 - 25 of 388) sorted by relevance

1234567891011>>

/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/
H A DModelVetoException.java61 /** This field holds the target if the
62 * ModelVetoException (Throwable target) constructor was
69 * <code>null</code> as the target exception.
77 * detail message and <code>null</code> as the target exception..
86 * Constructs a ModelVetoException with a target exception.
88 public ModelVetoException (Throwable target) argument
91 _target = target;
95 * Constructs a ModelVetoException with a target exception
98 public ModelVetoException (Throwable target, String s) argument
101 _target = target;
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DCommandTarget.java49 * CommandTarget is an enumeration of valid configuration target for a command execution
59 public boolean isValid(Habitat habitat, String target) {
60 return target.equals("domain");
73 public boolean isValid(Habitat habitat, String target) {
74 return target.equals("server");
87 public boolean isValid(Habitat habitat, String target) {
89 return (domain.getClusterForInstance(target) != null);
102 public boolean isValid(Habitat habitat, String target) {
104 return (domain.getServerNamed(target) != null);
117 public boolean isValid(Habitat habitat, String target) {
159 isValid(Habitat habitat, String target) argument
[all...]
H A DTargetValidator.java52 * returns true if the passed target parameter value is a valid identifier
53 * of a target instance.
55 * @param habitat the habitat where to lookup all the target instances
56 * @param target the target identifier to check
57 * @return true if target is a valid identifier of a target instance
59 public boolean isValid(Habitat habitat, String target); argument
62 * Returns a internalized aware string describing the target type
/glassfish-3.1.2/admingui/plugin-service/src/main/java/org/glassfish/admingui/plugin/
H A DIndexItem.java78 return this.target;
85 void setTarget(String target) { argument
86 this.target = target;
123 if ((this.target == null) ? (other.target != null) : !this.target.equals(other.target)) {
135 hash = 89 * hash + (this.target != null ? this.target
146 private String target; field in class:IndexItem
[all...]
H A DTOCItem.java93 return this.target;
100 void setTarget(String target) { argument
101 this.target = target;
105 * <p> This method returns the path to the target HTML page, starting
108 * to the end of the target.</p>
115 * <p> Sets the target path. If the "target" is <code>foo</code>, the
116 * target path should look something like:
142 * behavior of equals ONLY compares the <code>target</cod
172 private String target; field in class:TOCItem
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/stringifier/
H A DSmartStringifier.java103 getStringifier( final Object target )
105 if ( target == null )
108 final Class<?> targetClass = target.getClass();
112 if ( target instanceof javax.management.ObjectName )
126 if ( stringifier != null && theClass.isAssignableFrom( target.getClass() ) )
163 smartStringify( Object target )
167 if ( ClassUtil.objectIsArray( target ) )
172 ClassUtil.getArrayElementClass( target.getClass() );
176 theArray = ArrayConversion.toAppropriateType( target );
180 theArray = (Object [])target;
[all...]
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployapi/
H A DTargetModuleIDImpl.java58 private TargetImpl target; field in class:TargetModuleIDImpl
71 * @param target the target on which the module resides
79 TargetImpl target,
83 this.target = target;
92 * @param target the target on which the module resides
95 public TargetModuleIDImpl(TargetImpl target, String moduleID) { argument
96 this(target, moduleI
78 TargetModuleIDImpl( TargetImpl target, String moduleID, TargetModuleIDImpl parent, TargetModuleIDImpl[] children) argument
[all...]
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/core/
H A DJavaEEDeployerMBean.java48 String target)
54 String target)
59 String target)
64 String target)
69 String target)
75 String target)
45 deploy(String serviceAssemblyName, String serviceUnitName, String serviceUnitRootPath, String target) argument
51 init(String serviceAssemblyName, String serviceUnitName, String serviceUnitRootPath, String target) argument
57 start(String serviceAssemblyName, String serviceUnitName, String target) argument
62 stop(String serviceAssemblyName, String serviceUnitName, String target) argument
67 shutDown(String serviceAssemblyName, String serviceUnitName, String target) argument
72 undeploy(String serviceAssemblyName, String serviceUnitName, String serviceUnitRootPath, String target) argument
H A DJavaEEDeployer.java68 public void init(String saName, String suName, String suPath, String target) argument
73 ". suPath = " + suPath + ", target = " + target);
76 public void shutDown(String saName, String suName, String target) throws argument
81 ", target = " + target);
87 String target) throws Exception {
91 ". suPath = " + suPath + ", target = " + target);
93 return doDeploy(suName, suPath, target);
84 deploy(String saName, String suName, String suPath, String target) argument
96 undeploy(String saName, String suName, String suPath, String target) argument
108 start(String saName, String suName, String target) argument
119 stop(String saName, String suName, String target) argument
[all...]
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DMonitoringTest.java102 private void goToMonitoringServicePage(String target, String targetType) { argument
103 goToMonitoringApplicationsPage(target, targetType);
108 private void setMonitorLevel(String component, String monLevel, boolean isAll, String target, String targetType) { argument
109 goToMonitoringServicePage(target, targetType);
124 goToMonitoringServicePage(target, targetType);
136 private void goToMonitoringServerPage(String target, String targetType) { argument
143 clickAndWait(getLinkIdByLinkText("propertyForm:instancesTable", target), TRIGGER_STANDALONE_GENERAL_PAGE);
149 private void monitoringJvmStats(String target, String targetType) { argument
174 setMonitorLevel("JVM", MONITOR_LEVEL_HIGH, false, target, targetType);
175 goToMonitoringServerPage(target, targetTyp
198 monitoringWebContainerStats(String target, String targetType) argument
219 monitoringTransactionServiceStats(String target, String targetType) argument
229 monitoringSecurityStats(String target, String targetType) argument
239 monitoringHttpServiceStats(String target, String targetType) argument
281 goToMonitoringApplicationsPage(String target, String targetType) argument
292 ejbTimerMonitoring(String target, String targetType) argument
312 appScopedResourcesMonitoring(String target, String targetType, String resName) argument
328 statefulAndStatelessBeanMonitoring(String target, String targetType) argument
355 deployApp(String appLocation, String target, String appName) argument
375 undeployApp(String applicationName, String target) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DDispatchTargetsInfo.java64 * This class stores information about the last dispatch target
76 void addDispatchTarget(String target, boolean isNamed) { argument
78 targets[1] = target;
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DResourceUtil.java73 public void createResourceRef(String jndiName, String enabled, String target) throws TransactionFailure { argument
75 if (target.equals(DOMAIN)) {
79 if( domain.getConfigNamed(target) != null){
83 Server server = ConfigBeansUtilities.getServerNamed(target);
90 Cluster cluster = domain.getClusterNamed(target);
98 List<Server> instances = tgt.getInstances(target);
111 * and the --target is not <i>domain</i> or <i>config</i>, <i>enabled</i> value for <i>resource</i>
114 * @param target target
117 public String computeEnabledValueForResourceBasedOnTarget(String enabledValue, String target) { argument
132 isNonResourceRefTarget(String target) argument
144 isResourceRefInTarget(String refName, String target) argument
175 deleteResourceRef(String jndiName, String target) argument
[all...]
H A DBindableResourcesHelper.java70 public boolean resourceExists(String jndiName, String target) { argument
72 if(target.equals(DOMAIN)){
73 //if target is "domain", as long as the resource is present in "resources" section,
76 }else if(ConfigBeansUtilities.getServerNamed(target) != null){
77 Server server = configBeanUtilities.getServerNamed(target);
79 }else if (domain.getClusterNamed(target) != null){
80 Cluster cluster = domain.getClusterNamed(target);
83 //if target is "CONFIG", as long as the resource is present in "resources" section,
86 if(config.getName().equals(target)){
101 * @param target targe
105 validateBindableResourceForDuplicates(Resources resources, String jndiName, boolean validateResourceRef, String target, Class<? extends BindableResource> resourceTypeToValidate) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DPropertyChangeListenerTest.java81 // let's find a acceptable target.
82 VirtualServer target =null;
85 target = vs;
90 assertNotNull(target);
92 ((ObservableBean) ConfigSupport.getImpl(target)).addListener(this);
93 final Property prop = target.getProperty().get(0);
106 ((ObservableBean) ConfigSupport.getImpl(target)).removeListener(this);
H A DDuplicateKeyedElementTest.java71 // let's find a acceptable target.
72 VirtualServer target = null;
75 target = vs;
79 assertNotNull(target);
80 final Property prop = target.getProperty().get(0);
91 }, target);
101 // let's find a acceptable target.
102 VirtualServer target = null;
105 target = vs;
109 assertNotNull(target);
[all...]
H A DVetoableChangeListenerTest.java80 // let's find a acceptable target.
81 VirtualServer target =null;
84 target = vs;
89 assertNotNull(target);
91 ((ConfigBean) ConfigSupport.getImpl(target)).getOptionalFeature(ConstrainedBeanListener.class).addVetoableChangeListener(this);
101 }, target);
120 }, target);
127 ((ConfigBean) ConfigSupport.getImpl(target)).getOptionalFeature(ConstrainedBeanListener.class).removeVetoableChangeListener(this);
140 }, target);
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/
H A DApplicationClientJarMaker.java88 * @param target is the abstract archive for the desired appclient container jar file
95 WritableArchive target,ZipItem[] stubs, Properties props)
97 create(descriptor, source, null, target, stubs, props);
105 * @param target is the abstract archive for the desired appclient container jar file
112 ReadableArchive source2, WritableArchive target,ZipItem[] stubs,
115 // in all cases we copy the stubs file in the target archive
116 ClientJarMakerUtils.populateStubs(target, stubs);
121 ClientJarMakerUtils.populateModuleJar(source, source2, target);
146 WritableArchive subTarget = target.createSubArchive(md.getArchiveUri());
168 target
94 create(RootDeploymentDescriptor descriptor, ReadableArchive source, WritableArchive target,ZipItem[] stubs, Properties props) argument
111 create(RootDeploymentDescriptor descriptor, ReadableArchive source, ReadableArchive source2, WritableArchive target,ZipItem[] stubs, Properties props) argument
[all...]
H A DClientJarMakerImpl.java86 * @param target is the abstract archive for the desired appclient container jar file
94 WritableArchive target, ZipItem[] stubs, Properties props)
96 create(descriptor, source, source, target, stubs, props);
104 * @param target is the abstract archive for the desired appclient container jar file
111 ReadableArchive source2, WritableArchive target,ZipItem[] stubs,
117 // in all cases we copy the stubs file in the target archive
128 os = target.putNextEntry(item.getName());
136 target.closeEntry();
174 // first copy original module files in the root on the target
191 copy(subSource, target, entryNam
92 create(RootDeploymentDescriptor descriptor, ReadableArchive source, WritableArchive target, ZipItem[] stubs, Properties props) argument
110 create(RootDeploymentDescriptor descriptor, ReadableArchive source, ReadableArchive source2, WritableArchive target,ZipItem[] stubs, Properties props) argument
305 copy(ReadableArchive source, ReadableArchive source2, WritableArchive target, String fileEntryName, List xmlFiles) argument
317 copy(ReadableArchive source, WritableArchive target, String entryName) argument
363 copyWithOverride(ReadableArchive normalSource, ReadableArchive overridingSource, WritableArchive target, String entryName) argument
[all...]
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/
H A DCreateHTTPHealthCheckerCommand.java92 String target; field in class:CreateHTTPHealthCheckerCommand
121 config ,target);
134 match = matchLbConfigToTarget(lbConfigs, target);
137 String msg = localStrings.getLocalString("UnassociatedTarget", "No LB config references target {0}", target);
146 lc, lc.getName(), target);
172 * @param target name of the target - cluster or stand alone
178 String timeout, LbConfig lbConfig, String lbConfigName, String target)
193 + ", Target " + target);
177 createHealthCheckerInternal(String url, String interval, String timeout, LbConfig lbConfig, String lbConfigName, String target) argument
322 matchLbConfigToTarget(List<LbConfig> lbConfigs, String target) argument
[all...]
H A DDeleteHTTPHealthCheckerCommand.java82 String target; field in class:DeleteHTTPHealthCheckerCommand
110 deleteHealthCheckerInternal(lbConfig, target, false);
122 deleteHealthCheckerInternal(lc, target, true);
131 * @param target Name of a cluster or stand alone server instance
136 * 2).The target already contains the health checker
139 private void deleteHealthCheckerInternal(LbConfig lbConfig, String target, argument
153 + lbConfigName + ", Target: " + target);
155 // null target
156 if (target == null) {
157 String msg = localStrings.getLocalString("Nulltarget", "Null target");
[all...]
/glassfish-3.1.2/tests/amx/
H A Drun.sh48 export CP=target/amx-tests-10.0-SNAPSHOT-jar-with-dependencies.jar
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DResourceHandlers.java88 for (String target : targets) {
89 if (TargetUtil.isCluster(target)) {
90 targetsMap.put(GuiUtil.getSessionValue("REST_URL") + "/clusters/cluster/" + target, target);
91 targetUrls.add(GuiUtil.getSessionValue("REST_URL") + "/clusters/cluster/" + target);
93 targetsMap.put(GuiUtil.getSessionValue("REST_URL") + "/servers/server/" + target, target);
94 targetUrls.add(GuiUtil.getSessionValue("REST_URL") + "/servers/server/" + target);
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/deployment/
H A DStateCommandParameters.java54 public String target = "server"; field in class:StateCommandParameters
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/versioning/
H A DVersioningService.java86 * @param target the target where we want to get all the versions
89 private final List<String> getAllversions(String untaggedName, String target) { argument
91 if (target != null) {
92 allApplications = domain.getApplicationsInTarget(target);
102 * This method is designed to be used with domain target. As different
106 * @return a map matching the enabled versions with their target(s)
120 // retrieved all the enabled version on the referenced target on each matched version
126 // foreach enabled version we combine the target list into the map
148 * This method is designed to be used with domain target
192 getEnabledVersion(String name, String target) argument
223 getMatchedVersions(String name, String target) argument
252 handleDisable(final String appName, final String target, final ActionReport report) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DInjectionCapable.java68 * Add a new injection target for this dependency
70 public void addInjectionTarget(InjectionTarget target); argument

Completed in 84 milliseconds

1234567891011>>