Searched refs:prepare (Results 1 - 25 of 82) sorted by relevance

1234

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/deployment/
H A DDeployer.java80 * Failure to prepare should throw an exception which will cause the overall
84 * @return true if the prepare phase executed successfully
86 public boolean prepare(DeploymentContext context); method in interface:Deployer
109 * of the prepare method.
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DUndoableCommand.java71 * <p>During the first phase, called the prepare phase, the framework will call
72 * this command prepare method as well as all supplemented commands prepare methods (if such
73 * supplemented commands implement the UndoableCommand interface). If the prepare phase is
77 * <p>Once the prepare phase has succeeded, the normal {@link AdminCommand#execute(AdminCommandContext)}
98 * prepare method since {@link #undo(AdminCommandContext, ParameterMap, List<Server>)} will not be called if the command
99 * execution stops at the prepare phase.
101 * <p>Note that if, as part of prepare, remote instances have to be contacted, then it is the responsibility of
104 * The framework will call prepare() method in DAS before execution of the main command
105 * and the execution of the main command will happen only if the prepare() cal
112 public ActionReport.ExitCode prepare(AdminCommandContext context, ParameterMap parameters); method in interface:UndoableCommand
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DGenericDeployer.java65 public boolean prepare(DeploymentContext context) { method in class:GenericDeployer
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/
H A DXATerminatorProxy.java94 public int prepare(Xid xid) throws XAException { method in class:XATerminatorProxy
95 return xat.prepare(xid);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/
H A DConnectorXAResource.java201 public int prepare(Xid xid) throws XAException { method in class:ConnectorXAResource
H A DXAResourceWrapper.java109 public int prepare(Xid xid) throws XAException { method in class:XAResourceWrapper
110 print("XAResource.prepare: " + xidToString(xid));
111 int result = res.prepare(xid);
112 print("prepare result = " + flagToString(result));
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DXATerminator.java88 * Ask the resource manager to prepare for a transaction commit
103 * in the prepare method.
105 int prepare(Xid xid) throws XAException; method in interface:XATerminator
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DMonitoringReporter.java113 prepare(c, arg, OutputType.GET);
117 prepare(c, arg, OutputType.LIST);
132 private void prepare(AdminCommandContext c, String arg, OutputType type) { method in class:MonitoringReporter
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/commands/
H A DGenerateJvmReportCommand.java84 prepare();
91 private synchronized void prepare() { method in class:GenerateJvmReportCommand
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/
H A DSimpleDeployer.java53 * Convenient superclass for Deployers which only do prepare and
73 * Failure to prepare should throw an exception which will cause the overall
77 * @return true if the prepare phase was successful
80 public boolean prepare(DeploymentContext dc) { method in class:SimpleDeployer
110 * of the prepare method.
/glassfish-3.1.2/deployment/javaee-core/src/main/java/org/glassfish/javaee/core/deployment/
H A DJavaEEDeployer.java191 * Failure to prepare should throw an exception which will cause the overall
195 * @return true if the prepare phase was successful
198 public boolean prepare(DeploymentContext dc) { method in class:JavaEEDeployer
251 * of the prepare method.
/glassfish-3.1.2/extras/grizzly-container/src/main/java/org/glassfish/extras/grizzly/
H A DGrizzlyDeployer.java77 public boolean prepare(DeploymentContext context) { method in class:GrizzlyDeployer
/glassfish-3.1.2/extras/osgi-container/src/main/java/org/glassfish/extras/osgicontainer/
H A DOSGiDeployer.java102 public boolean prepare(DeploymentContext context) { method in class:OSGiDeployer
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/
H A DXAResourceWrapper.java90 public int prepare(Xid xid) throws XAException{ method in class:XAResourceWrapper
/glassfish-3.1.2/transaction/javax.transaction/src/main/java/javax/transaction/xa/
H A DXAResource.java70 * the transaction manager to prepare, commit, or rollback a transaction
169 /** Ask the resource manager to prepare for a transaction commit
182 * in the prepare method.
185 int prepare(Xid xid) throws XAException; method in interface:XAResource
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DCoordinatorResourceImpl.java198 /**Requests the prepare phase vote from the object.
200 * This uses a private interface to pass the superior Coordinator's prepare request.
218 public Vote prepare() method in class:CoordinatorResourceImpl
267 result = coord.prepare();
468 // Tell the Coordinator to commit, by first doing a prepare.
486 // The prepare operation may throw the HeuristicHazard exception. In this case
491 vote = coord.prepare();
739 // Tell the Coordinator to prepare then commit.
748 if( coord.prepare() == Vote.VoteCommit )
H A DXATerminatorImpl.java143 vote = coord.prepare();
166 // beforeCompletion calls in prepare phase of one phase commit.
200 * Ask the resource manager to prepare for a transaction commit
215 * in the prepare method.
217 public int prepare(Xid xid) throws XAException { method in class:XATerminatorImpl
246 if (coord == null) { // error to receive prepare more than once
255 Vote vote = coord.prepare();
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/codegen/jtsxa/
H A D_OTSResourceStub.java75 public org.omg.CosTransactions.Vote prepare () throws org.omg.CosTransactions.HeuristicMixed, org.omg.CosTransactions.HeuristicHazard method in class:_OTSResourceStub
79 org.omg.CORBA.portable.OutputStream $out = _request ("prepare", true);
93 return prepare ();
97 } // prepare
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/codegen/otsidl/
H A D_CoordinatorResourceStub.java91 public org.omg.CosTransactions.Vote prepare () throws org.omg.CosTransactions.HeuristicMixed, org.omg.CosTransactions.HeuristicHazard method in class:_CoordinatorResourceStub
95 org.omg.CORBA.portable.OutputStream $out = _request ("prepare", true);
109 return prepare ();
113 } // prepare
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jtsxa/
H A DOTSResourceImpl.java95 * for prepare.
264 public Vote prepare() throws HeuristicHazard, HeuristicMixed { method in class:OTSResourceImpl
273 rc = xaRes.prepare(xid); // xa_prepare()
276 _logger.log(Level.FINE,"An XAException occurred in prepare", e);
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DLocalDomainCommand.java69 * The prepare method must ensure that the superclass' implementation of
78 protected void prepare() method in class:LocalDomainCommand
80 super.prepare();
/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/rmi/
H A DJmxConnectorServerDriver.java206 prepare();
269 private void prepare() { method in class:JmxConnectorServerDriver
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DRestartInstanceCommand.java85 prepare();
106 private void prepare() throws InstanceNotRunningException { method in class:RestartInstanceCommand
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DXAResourceImpl.java140 * Ask the resource manager to prepare for a transaction commit
148 * by raising an appropriate <code>XAException</code> in the prepare method.
150 public int prepare(Xid xid) throws XAException { method in class:XAResourceImpl
152 int result = xar.prepare(xid);
/glassfish-3.1.2/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/
H A DJPADeployer.java164 @Override public boolean prepare(DeploymentContext context) { method in class:JPADeployer
165 boolean prepared = super.prepare(context);
195 // Scoped resources are registered by connector runtime after prepare(). That is too late for JPA
227 //TODO - Now since we are creating EM eagerly in prepare(). The DDL files are also available at this point.
420 // On app enable(after a disable), for a cluster, the deployment framework calls prepare() for instances but not for DAS.
427 * Does java2db on DAS and saves emfs created during prepare to ApplicationInfo maintained by DOL.
428 * ApplicationInfo is not available during prepare() so we can not directly use it there.

Completed in 1447 milliseconds

1234