Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Licensed to the Apache Software Foundation (ASF) under one
   * or more contributor license agreements.  See the NOTICE file
   * distributed with this work for additional information
   * regarding copyright ownership.  The ASF licenses this file
   * to you under the Apache License, Version 2.0 (the
   * "License"); you may not use this file except in compliance
   * with the License.  You may obtain a copy of the License at
   *
  *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
  */
 
 package org.apache.tuscany.sca.implementation.java;
 
 import java.util.List;
 import java.util.Map;
 
Represents a Java implementation.

Version:
$Rev: 950295 $ $Date: 2010-06-02 01:57:55 +0300 (Wed, 02 Jun 2010) $
 
 public interface JavaImplementation extends BaseJavaImplementation {
     QName TYPE = new QName("implementation.java");
    
Returns the constructor used to instantiate implementation instances.

Returns:
the constructor used to instantiate implementation instances
 
     JavaConstructorImpl<?> getConstructor();

    
Sets the constructor used to instantiate implementation instances

Parameters:
definition the constructor used to instantiate implementation instances
 
     void setConstructor(JavaConstructorImpl<?> definition);

    
Returns the component initializer method.

Returns:
the component initializer method
 
     Method getInitMethod();

    
Sets the component initializer method.

Parameters:
initMethod the component initializer method
 
     void setInitMethod(Method initMethod);

    
Returns the component destructor method.

Returns:
the component destructor method
 
     Method getDestroyMethod();

    
Sets the component destructor method.

Parameters:
destroyMethod the component destructor method
 
     void setDestroyMethod(Method destroyMethod);

    
Returns the resources injected into this implementation.

Returns:
 
     Map<StringJavaResourceImplgetResources();

    
Returns the Java member used to inject a conversation ID.

Returns:
 
     List<MembergetConversationIDMembers();

    
Sets the Java member used to inject a conversation ID.

Parameters:
conversationIDMember
 
     void addConversationIDMember(Member conversationIDMember);

    
Returns true if AllowsPassReference is set.

Returns:
true if AllowsPassByReference is set
    boolean isAllowsPassByReference();

    

Parameters:
allowsPassByReference the allowsPassByReference to set
    void setAllowsPassByReference(boolean allowsPassByReference);

    

Returns:
the allowsPassByReferenceMethods

Parameters:
method
Returns:
    boolean isAllowsPassByReference(Method method);

    

Returns:
the constructors

Returns:
the eagerInit
    boolean isEagerInit();

    

Parameters:
eagerInit the eagerInit to set
    void setEagerInit(boolean eagerInit);

    

Returns:
the callbacks

Returns:
the properties

Returns:
the references

Returns:
the scope
    JavaScopeImpl getJavaScope();

    

Parameters:
scope the scope to set
    void setJavaScope(JavaScopeImpl scope);
New to GrepCode? Check out our FAQ X